/**
 * 
 */
package com.hand.cloud.b2b.daos;

import de.hybris.platform.ordersplitting.model.StockLevelModel;

import com.hand.cloud.b2b.model.EPStockLevelModel;


/**
 * @author StephenWang
 * @time Aug 15, 2014 10:29:31 AM
 * 
 */
public interface StockLevelDAO
{

	/**
	 * 创建库存信息
	 * 
	 * @return
	 */

	public StockLevelModel createStockLevel(EPStockLevelModel stocklevel);

	/**
	 * 通过查找baseStore下的某种商品的所有可用量
	 * 
	 * @param productPK
	 * @param baseStorePK
	 * @return
	 */
	public Integer getSumAvailableByBaseStore(String productPK, String baseStorePK);
}
